Bag Properties

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Syntax

C#
[SerializableAttribute]
public class Bag<T>
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class Bag(Of T)
Visual C++
[SerializableAttribute]
generic<typename T>
public ref class Bag

Type Parameters

T

The type exposes the following properties.

Public Properties

  NameDescription
Public propertyComparer
Returns the IEqualityComparer<T> used to compare items in this bag.
Public propertyCount
Returns the number of items in the bag.
(Overrides CollectionBase<(Of <T>)>..::Count.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate propertyICollection<(Of <T>)>..::IsReadOnly (Inherited from CollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyICollection..::IsSynchronized
Indicates whether the collection is synchronized.
(Inherited from CollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyICollection..::SyncRoot
Indicates the synchronization object for this collection.
(Inherited from CollectionBase<(Of <T>)>.)

See Also